﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UpdateUDMBackService
{
    public class CXBase
    {
        public string id { get; set; }
        public string state { get; set; }
        public string code { get; set; }
        public bool isSuccess
        {
            get
            {
                if (!string.IsNullOrEmpty(code) && code.Equals("200"))
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }
        }
        public string message { get; set; }
        public string responseTime { get; set; }
    }
}
